package com.tian.mapper;

import com.tian.dto.ChargeCouponPageReqDto;
import com.tian.entity.ChargeCoupon;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChargeCouponMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChargeCoupon record);

    ChargeCoupon selectByPrimaryKey(Integer id);

    List<ChargeCoupon> selectAll();

    int updateByPrimaryKey(ChargeCoupon record);

    List<ChargeCoupon> selectPageByCondition(ChargeCouponPageReqDto chargeCouponPageReqDto);
}